export default [
    {
      path: '/',
      component: '../layouts/BlankLayout',
      routes: [
        {
          path: '/user',
          component: '../layouts/UserLayout',
          routes: [
            {
              name: 'login',
              path: '/user/login',
              component: './user/login',
            },
          ],
        },
        {
          path: '/',
          component: '../layouts/SecurityLayout',
          routes: [
            {
              path: '/',
              component: '../layouts/BasicLayout',
              authority: ['admin', 'user'],
              routes: [
                {
                  path: '/manage',
                  redirect: '/manage/home'
                },
                {
                  name: 'manage.home',
                  icon: 'smile',
                  path: '/manage/home',
                  component: './manage/index'
                },
                {
                  component: './404',
                },
              ],
            },
            {
              component: './404',
            },
          ],
        },
      ],
    },
    {
      component: './404',
    },
  ];
  